package cc.io24.knewcafe.blog.dao;

import cc.io24.knewcafe.blog.domain.Post;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

@RepositoryRestResource(collectionResourceRel = "posts", path = "posts")
public interface PostRestApi extends PagingAndSortingRepository<Post, String> {
    //List<Post> findAllByTitle(@Param("title") String title);
}
